<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="../assets/images/favicon.ico">

    <title>NCUOS</title>

    <!-- Bootstrap core CSS -->
    <link href="../assets/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <!-- <link href="https://fonts.googleapis.com/css?family=Playfair+Display:700,900" rel="stylesheet"> -->
    <link href="../../../static/assets/css/blog/blog.css" rel="stylesheet">
</head>

<body>

<div class="container">
    <header class="blog-header py-3">
        <div class="row flex-nowrap justify-content-between align-items-center">
            <div class="col-4 pt-1">
            </div>
            <div class="col-4 text-center">
                <a class="blog-header-logo text-dark" href="#">NCUOS</a>
            </div>
            <div class="col-4 d-flex justify-content-end align-items-center">
                <a class="text-muted" href="#" data-toggle="modal" data-target="#myModal">
                    <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewbox="0 0 24 24" fill="none"
                         stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"
                         class="mx-3">
                        <circle cx="10.5" cy="10.5" r="7.5"></circle>
                        <line x1="21" y1="21" x2="15.8" y2="15.8"></line>
                    </svg>
                </a>

                <!-- 模态框 -->
                <div class="modal fade" id="myModal">
                    <div class="modal-dialog">
                        <div class="modal-content">

                            <!-- 模态框头部 -->
                            <div class="modal-header">
                                <h4 class="modal-title">搜索</h4>
                                <button type="button" class="close" data-dismiss="modal">&times;</button>
                            </div>

                            <!-- 模态框主体 -->
                            <div class="modal-body">
                                <div class="input-group mb-3">
                                    <input type="text" class="form-control" placeholder="Search">
                                    <div class="input-group-append">
                                        <button class="btn btn-success" type="submit">Go</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <a class="btn btn-sm btn-outline-secondary" href="../login/index.html">登录</a>
            </div>
        </div>
    </header>


    <div class="nav-scroller py-1 mb-2">
        <nav class="nav d-flex justify-content-between">
            <a class="p-2 text-muted" href="#">前端</a>
            <a class="p-2 text-muted" href="#">小程序</a>
            <a class="p-2 text-muted" href="#">后端</a>
            <a class="p-2 text-muted" href="#">运维</a>
            <a class="p-2 text-muted" href="#">数据库</a>
        </nav>
    </div>
    <div class="jumbotron p-3 p-md-5 text-white rounded bg-dark">
        <div class="col-md-6 px-0">
            <h1 class="display-5 font-italic"><a class="text-white" href="#">NCU程序员的专属开源社区</a></h1>
            <p class="lead my-3">为南昌大学所有的开发者提供了一个发现、使用、并交流开源技术的平台。</p>
        </div>
    </div>

    <div class="row mb-2">
        <div class="col-md-6">
            <div class="card flex-md-row mb-4 box-shadow h-md-250">
                <div class="card-body d-flex flex-column align-items-start">
                    <strong class="d-inline-block mb-2 text-primary">前端</strong>
                    <h3 class="mb-0">
                        <a class="text-dark" href="#">使用Vue做一个简单TODO应用</a>
                    </h3>
                    <div class="mb-1 text-muted">2018/11/3</div>
                    <p class="card-text mb-auto">Vuejs的入门教程</p>
                </div>
                <img class="card-img-right flex-auto d-none d-md-block top-blog-img"
                     data-src="holder.js/200x250?theme=thumb"
                     alt="Card image cap" src="../assets/images/vuejs.png">
            </div>
        </div>
        <div class="col-md-6">
            <div class="card flex-md-row mb-4 box-shadow h-md-250">
                <div class="card-body d-flex flex-column align-items-start">
                    <strong class="d-inline-block mb-2 text-success">运维</strong>
                    <h3 class="mb-0">
                        <a class="text-dark" href="#">Linux基本命令使用</a>
                    </h3>
                    <div class="mb-1 text-muted">2018/11/2</div>
                    <p class="card-text mb-auto">Linux入门</p>
                </div>
                <img class="card-img-right flex-auto d-none d-md-block top-blog-img"
                     data-src="holder.js/200x250?theme=thumb"
                     alt="Card image cap" src="../assets/images/linux.jpg">
            </div>
        </div>
    </div>
</div>
<main role="main" class="container">
    <div class="row">
        <div class="col-md-8 blog-main">
            <h3 class="pb-3 mb-4 font-italic border-bottom">
                <button type="button" class="btn btn-light">最新</button>
                <button type="button" class="btn btn-light">最热</button>
            </h3>
            <div class="blog-post">
                <div class="card">
                    <div class="card-body">
                        <h4 class="blog-post-title"><a class="text-dark" href="#">使用 Java8 Optional 的正确姿势</a></h4>

                        <p>我们知道 Java 8 增加了一些很有用的 API, 其中一个就是 <strong>Optional</strong>. 如果对它不稍假探索,
                            只是轻描淡写的认为它可以优雅的解决 NullPointException 的问题</p>

                        <div class="container-fluid">
                            <div class="row">
                                <div class="col-sm-9 blog-post-col">
                                    <div class="card-img">
                                        <img src="../assets/images/avatar.png" alt="..."
                                             data-src="holder.js/50x50?theme=thumb"
                                             class="blog-post-avatar">
                                    </div>
                                    <p class="blog-post-author"><span class="badge badge-primary">NCU程序员</span></p>
                                    </a>
                                    <a>
                                        <p class="blog-post-tag"><span class="badge badge-success">前端</span></p>
                                    </a>
                                    <p class="blog-post-time">2天前</p>
                                </div>
                                <div class="col-sm-3  blog-post-col">
                                    <p class="blog-post-comment"><span class="badge badge-info">999</span>评论</p>
                                    <p class="blog-post-read"><span class="badge badge-info">10000</span>阅读 </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div><!-- /.blog-post -->
            <div class="blog-post">
                <div class="card">
                    <div class="card-body">
                        <h4 class="blog-post-title"><a class="text-dark" href="#">使用 Java8 Optional 的正确姿势</a></h4>

                        <p>我们知道 Java 8 增加了一些很有用的 API, 其中一个就是 <strong>Optional</strong>. 如果对它不稍假探索,
                            只是轻描淡写的认为它可以优雅的解决 NullPointException 的问题</p>

                        <div class="container-fluid">
                            <div class="row">
                                <div class="col-sm-9 blog-post-col">
                                    <div class="card-img">
                                        <img src="../assets/images/avatar.png" alt="..."
                                             data-src="holder.js/50x50?theme=thumb"
                                             class="blog-post-avatar">
                                    </div>
                                    <a><p class="blog-post-author"><span class="badge badge-primary">NCU程序员</span></p>
                                    </a>
                                    <a>
                                        <p class="blog-post-tag"><span class="badge badge-success">前端</span></p>
                                    </a>
                                    <p class="blog-post-time">2天前</p>
                                </div>
                                <div class="col-sm-3  blog-post-col">
                                    <p class="blog-post-comment"><span class="badge badge-info">999</span>评论</p>
                                    <p class="blog-post-read"><span class="badge badge-info">10000</span>阅读 </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div><!-- /.blog-post -->
            <div class="blog-post">
                <div class="card">
                    <div class="card-body">
                        <h4 class="blog-post-title"><a class="text-dark" href="#">使用 Java8 Optional 的正确姿势</a></h4>

                        <p>我们知道 Java 8 增加了一些很有用的 API, 其中一个就是 <strong>Optional</strong>. 如果对它不稍假探索,
                            只是轻描淡写的认为它可以优雅的解决 NullPointException 的问题</p>

                        <div class="container-fluid">
                            <div class="row">
                                <div class="col-sm-9 blog-post-col">
                                    <a href="#">
                                        <div class="card-img">
                                            <img src="../assets/images/avatar.png" alt="..."
                                                 data-src="holder.js/50x50?theme=thumb"
                                                 class="blog-post-avatar">
                                        </div>
                                    </a>
                                    <a href="#">
                                        <p class="blog-post-author"><span class="badge badge-primary">NCU程序员</span></p>
                                    </a>
                                    <a>
                                        <p class="blog-post-tag"><span class="badge badge-success">前端</span></p>
                                    </a>
                                    <p class="blog-post-time">2天前</p>
                                </div>
                                <div class="col-sm-3  blog-post-col">
                                    <p class="blog-post-comment"><span class="badge badge-info">999</span>评论</p>
                                    <p class="blog-post-read"><span class="badge badge-info">10000</span>阅读 </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div><!-- /.blog-post -->

        </div><!-- /.blog-main -->

        <aside class="col-md-4 blog-sidebar">
            <div class="card box-shadow aside-card">
                <div class="card-header aside-card-title">
                    <h5 class="my-0 font-weight-normal"><img src="../assets/images/tags.svg" alt="" class="icon">
                        热门标签</h5>

                </div>
                <div class="card-body">
                    <span class="badge badge-pill badge-primary">JavaScript</span>
                    <span class="badge badge-pill badge-success">Java</span>
                    <span class="badge badge-pill badge-info">Spring</span>
                    <span class="badge badge-pill badge-warning">Vue</span>
                    <span class="badge badge-pill badge-danger">Linux</span>
                </div>
            </div>

            <div class="card box-shadow aside-card">
                <div class="card-header aside-card-title">
                    <h5 class="my-0 font-weight-normal"><img src="../assets/images/fire.svg" alt="" class="icon">
                        热门文章</h5>
                </div>
                <div class="list-group">
                    <a href="#"
                       class="list-group-item list-group-item-action list-no-border d-flex justify-content-between align-items-center">
                        Go基础编程：HTTP编程
                        <span class="badge badge-danger badge-pill">9999</span>
                    </a>
                    <a href="#"
                       class="list-group-item list-group-item-action list-no-border d-flex justify-content-between align-items-center">
                        IO编程和NIO编程简介
                        <span class="badge badge-danger badge-pill">9999</span>
                    </a>
                    <a href="#"
                       class="list-group-item list-group-item-action list-no-border d-flex justify-content-between align-items-center">
                        bat编程和vbs编程入门
                        <span class="badge badge-danger badge-pill">9999</span>
                    </a>
                </div>
            </div>
            <div class="card box-shadow aside-card">
                <div class="card-header aside-card-title">
                    <h5 class="my-0 font-weight-normal"><img src="../assets/images/graph.svg" alt="" class="icon">
                        最新发布</h5>
                </div>
                <div class="list-group">
                    <a href="#"
                       class="list-group-item list-group-item-action list-no-border d-flex justify-content-between align-items-center">
                        socket的tcp编程和udp编程
                        <span class="badge badge-primary badge-pill">146</span>
                    </a>
                    <a href="#"
                       class="list-group-item list-group-item-action list-no-border d-flex justify-content-between align-items-center">
                        用R语言分析与预测员工离职
                        <span class="badge badge-primary badge-pill">666</span>
                    </a>
                    <a href="#"
                       class="list-group-item list-group-item-action list-no-border d-flex justify-content-between align-items-center">
                        命令行：增强版 | Linux 中国
                        <span class="badge badge-primary badge-pill">99</span>
                    </a>
                </div>
            </div>

            <div class="aside-card">
                <div id="demo" class="carousel slide" data-ride="carousel">
                    <!-- 轮播图片 -->
                    <div class="carousel-inner">
                        <div class="carousel-item active carousel-img">
                            <img src="http://static.runoob.com/images/mix/img_fjords_wide.jpg">
                        </div>
                        <div class="carousel-item  carousel-img">
                            <img src="http://static.runoob.com/images/mix/img_nature_wide.jpg">
                        </div>
                        <div class="carousel-item  carousel-img">
                            <img src="http://static.runoob.com/images/mix/img_mountains_wide.jpg">
                        </div>
                    </div>
                </div>
            </div>
            <div class="card box-shadow aside-card">
                <div class="card-header aside-card-title">
                    <h5 class="my-0 font-weight-normal"><img src="../assets/images/heart.svg" alt="" class="icon">
                        关于</h5>

                </div>
                <div class="card-body">
                    <span>NCUOS built by <a href="https://www.ncucoder.com">NCUCoder</a>.</span>
                </div>
            </div>


        </aside><!-- /.blog-sidebar -->

    </div><!-- /.row -->

</main><!-- /.container -->

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.slim.min.js"
        integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
        crossorigin="anonymous"></script>
<script>
    window.jQuery || document.write('<script src="../assets/js/jquery-3.3.1.min.js"><\/script>')
</script>
<script src="../assets/js/popper.min.js"></script>
<script src="../assets/js/bootstrap.min.js"></script>
<script src="../assets/js/holder.min.js"></script>
<script>
    Holder.addTheme('thumb', {
        bg: '#55595c',
        fg: '#eceeef',
        text: 'Thumbnail'
    });
</script>
</body>

</html>